﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
using DTO;

namespace GUI.Home.UC
{
    public partial class UC_TinTuc : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            BaiVietBLL bvBLL = new BaiVietBLL();
            List<BaiVietDTO> lstBV = new List<BaiVietDTO>();
            lstBV = bvBLL.GetListBaiViet();
            DTLTinTuc.DataSource = lstBV;
            DTLTinTuc.DataBind();
        }
    }
}